const permission = {
    namespaced: true, // 为当前模块开启独立的 命名空间
    state: {
        treeData: [],
        hasRouter:false,
    },
    mutations: {
        setTreeData(state, data) {
            state.treeData = data
        },
        setHasRouter(state,data){
            state.hasRouter = data
        }
    },
    actions: {
    },
}

export default permission